package com.authine.cloudpivot.web.api.secondopen.modules;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(value = "QAD客户信息")
public class QadCInvoiceDeatail {
    //到期日
    private String cinvoicedueDate;

    //供应商编码
    private String creditorCode;

    //供应商名称
    private String creditorName;

    //状态
    private String creditorIsActive;

    //周期
    private String paymentconditionCode;

    //发票号
    private String cinvoicereference;

    //入账日期
    private String cinvoicepostingdate;

    //支付前金额
    private Double cinvoicebalancelc;

    //发票面额
    private Double cinvoicebalancecc;

    public QadCInvoiceDeatail(String code,String name,Double cinvoicebalancelcA,Double cinvoicebalancelcB){
        creditorCode=code;
        creditorName=name;
        cinvoicebalancelc=cinvoicebalancelcA+cinvoicebalancelcB;

    }

    public QadCInvoiceDeatail(){

    }

    public String getCinvoicedueDate() {
        return cinvoicedueDate;
    }

    public void setCinvoicedueDate(String cinvoicedueDate) {
        this.cinvoicedueDate = cinvoicedueDate;
    }

    public String getCreditorCode() {
        return creditorCode;
    }

    public void setCreditorCode(String creditorCode) {
        this.creditorCode = creditorCode;
    }

    public String getCreditorName() {
        return creditorName;
    }

    public void setCreditorName(String creditorName) {
        this.creditorName = creditorName;
    }

    public String getCreditorIsActive() {
        return creditorIsActive;
    }

    public void setCreditorIsActive(String creditorIsActive) {
        this.creditorIsActive = creditorIsActive;
    }

    public String getPaymentconditionCode() {
        return paymentconditionCode;
    }

    public void setPaymentconditionCode(String paymentconditionCode) {
        this.paymentconditionCode = paymentconditionCode;
    }

    public String getCinvoicereference() {
        return cinvoicereference;
    }

    public void setCinvoicereference(String cinvoicereference) {
        this.cinvoicereference = cinvoicereference;
    }

    public String getCinvoicepostingdate() {
        return cinvoicepostingdate;
    }

    public void setCinvoicepostingdate(String cinvoicepostingdate) {
        this.cinvoicepostingdate = cinvoicepostingdate;
    }

    public Double getCinvoicebalancelc() {
        return cinvoicebalancelc;
    }

    public void setCinvoicebalancelc(Double cinvoicebalancelc) {
        this.cinvoicebalancelc = cinvoicebalancelc;
    }

    public Double getCinvoicebalancecc() {
        return cinvoicebalancecc;
    }

    public void setCinvoicebalancecc(Double cinvoicebalancecc) {
        this.cinvoicebalancecc = cinvoicebalancecc;
    }
}
